package com.qys.livesMall.anchor.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qys.livesMall.anchor.model.dto.H2AnchorApplyDTO;
import com.qys.livesMall.anchor.model.dto.H2AnchorApproveDTO;
import com.qys.livesMall.anchor.model.dto.H2AnchorContractDTO;
import com.qys.livesMall.anchor.model.entity.H2AnchorApply;
import com.qys.livesMall.anchor.model.vo.AnchorContractVO;
import com.qys.livesMall.common.result.R;

/**
 * 主播申请信息表(H2AnchorApply)表服务接口
 *
 * @author makejava
 * @since 2023-06-16 09:46:15
 */
public interface H2AnchorApplyService extends IService<H2AnchorApply> {


    /**
     * 主播提交申请
     * @param dto
     * @return
     */
    R submit(H2AnchorApplyDTO dto);


    /**
     * 申请审批
     * @param dto
     * @return
     */
    R approve(H2AnchorApproveDTO dto);


    /**
     * 获取主播合同
     * @return
     */
    AnchorContractVO getContract();


    /**
     * 签订合同
     * @param dto
     */
    void conclude(H2AnchorContractDTO dto);
}

